#ifndef _SERVERSCRIPTENGINE_
#define _SERVERSCRIPTENGINE_

#include "Scripting/Scripting.hpp"
#include "Client.hpp"

class ServerScriptEngine:public ScriptEngine{

public:
    ServerScriptEngine();

    void startup(Scriptable* server);
    bool connectionRequest(const char* addr);
    void clientConnected(Scriptable* client);
    void clientTimeout(Scriptable* client);
    void update(unsigned int time);
    bool chatMessageReceived(const char* message, Scriptable* client);
    void shutdown();
    
};

#endif

